Wireless bed sensor